<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@include file="/context/mytags.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <t:base type="jquery,easyui,tools,DatePicker,ckeditor"></t:base>
    <link rel="stylesheet" href="${webRoot}/plug-in/lhgDialog/skins/blue.css"/>
    <link rel="stylesheet" href="${webRoot}/plug-in/lhgDialog/skins/default.css"/>
    <script type="text/javascript" src="${webRoot}/plug-in/ajaxfileupload/ajaxfileupload.js"></script>
    <script type="text/javascript" charset="utf-8"
            src="${webRoot}/plug-in/ueditor1_4_3-utf8-jsp/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8"
            src="${webRoot}/plug-in/ueditor1_4_3-utf8-jsp/ueditor.all.min.js"></script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8"
            src="${webRoot}/plug-in/ueditor1_4_3-utf8-jsp/lang/zh-cn/zh-cn.js"></script>
    <script type="text/javascript" charset="utf-8" src="${webRoot}/plug-in/QQgeo/geo.js"></script>
    <script type="text/javascript" charset="utf-8" src="${webRoot}/plug-in/My97DatePicker/WdatePicker.js"></script>
</head>

<body scroll="no">
<t:formvalid formid="updateLevelForm" dialog="true" usePlugin="password" layout="table"
             action="consultantController.do?upLevel">
    <input name="studioConsultantId" type="hidden" value="${entity.studioConsultantId}">

    <div class="new_table_list">
        <table cellpadding="0" cellspacing="1" class="formtable" style="padding-left:20px;padding-top: 20px;">
            <tbody>
            <tr>
                <td align="left" style="width: 100px">
                    <label class="Validform_label">
                        工作室名称:
                    </label>
                </td>
                <td class="txt_left value" colspan="3">
                    <t:dictSelect field="level" typeGroupCode="studioConsultantLevel"
                                  defaultVal="${entity.level}"
                                  hasLabel="false" extendJson="{nullmsg:'请选择等级'}"></t:dictSelect>
                    <span class="Validform_checktip"></span>
                </td>
            </tr>

        </table>
    </div>
</t:formvalid>
</body>
<script type="text/javascript">
    $(function(){
        $("select").children().eq(0).remove();
    });

</script>

</html>